//
//  MyCell.m
//  ABCDEFG
//
//  Created by Xue Senhong on 15/5/20.
//  Copyright (c) 2015年 薛森鸿. All rights reserved.
//

#import "BrandCell.h"

@implementation BrandCell
- (void)dealloc
{
    [_myImage release];
    [_myLabel release];
    [super dealloc];
}
- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        self.myImage = [[UIImageView alloc] initWithFrame:CGRectMake(kScreenWidth * 20 / 375 , kScreenHeight * 10 / 667 , kScreenWidth * 50 / 375, kScreenHeight * 50 / 667)];
        self.myLabel = [[UILabel alloc] initWithFrame:CGRectMake(kScreenWidth * 90 / 375, 0, kScreenWidth * 285 / 375, kScreenHeight * 70 / 667)];
        self.myLabel.font = [UIFont systemFontOfSize:18];
        [self.contentView addSubview:self.myLabel];
        [self.contentView addSubview:self.myImage];
        
        [_myLabel release];
        [_myImage release];
    }
    return self;
}




- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];
    
    // Configure the view for the selected state
}

@end
